from data_access.dao.sql_dao import SQLDAO


class SqlService:
    def __init__(self):
        self.sql_dao = SQLDAO()

    def get_sql_by_sql_id(self, dispatch_code, sql_id):
        sql = self.sql_dao.get_sql_by_sql_id(dispatch_code, sql_id)
        return sql
